package com.yiwei.hdb.api.callback;

import com.yiwei.hdb.api.contract.BaseContract;
import com.yiwei.hdb.model.LoginAndRegisterModel;
import com.yiwei.hdb.model.ModifyPhoneCheckCodeModel;
import com.yiwei.hdb.model.ResponseModel;

/**
 * Created by Administrator on 2017/5/14.
 */

public interface ChangePhoneContract {
    interface View extends BaseContract.BaseView {
        void getModifyphoneSendcode(ResponseModel item);
        void getModifyphoneCheckcode(ModifyPhoneCheckCodeModel item);
        void getModifyphone(ResponseModel item);
        void getCodeSuccess(ResponseModel item);
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void getModifyphoneSendcode(String mobile);
        void getModifyphoneCheckcode(String mobile,
                                     String verify_code);
        void getModifyphone(   String mobile,
                 String verify_code,
                 String token);

        void getCode(String type, String mobile);

    }
}
